package com.lagou.dao;

import com.lagou.pojo.User;

import java.util.List;

public interface IUserDao {

    //查询所有用户
    List<User> selectList() throws Exception;

    //查询单个用户
    User selectOne(User user) throws Exception;

    //保存单个对象
    void insertOne(User user) throws Exception;

    //更新单个对象
    void updateOne(User user) throws Exception;

    //删除单个
    void deleteOne(User user) throws Exception;

}
